GTK uses its own private i18n header, which most notably defines
an I_() macro for interning static strings. That may be a worthwhile
idea for the entire codebase, but as it's out of scope for this
change set, just use the standard i18n support from glib for now.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2620>
#include <math.h>
#include <glib.h>
#include <glib/gstdio.h>
+#include <glib/gi18n-lib.h>
#include "st-icon-theme.h"
#include "st-icon-cache.h"
#include "st-settings.h"
-#include "gtkintl.h"
#define DEFAULT_ICON_THEME "Adwaita"
* that a change has occurred in the contents of the current
* icon theme.
*/
- signal_changed = g_signal_new (I_("changed"),
+ signal_changed = g_signal_new ("changed",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkIconThemeClass, changed),